package com.daedalus.Inheritanca.Student;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User:   kosta
 * Date:   2/2/13
 * Time:   12:55 PM
 */
public class StudMaster extends Student{
    private int viti;

    public StudMaster(String emri){
        super(emri,22);
        this.viti=2010;
    }

    @Override
    public void setMosha(int mosha) {
        super.setMosha(mosha);
        this.viti++;
    }
}
